package cn.chuanw.wx.web;

import cn.chuanw.core.util.ResponseUtil;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/wx/test")
public class TestController {
    @RequestMapping(value = "/test", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    @ApiOperation(value = "test", notes = "test")
    public Object test(@RequestParam(value = "mchId", required = false) String mchId) {
        return ResponseUtil.ok();
    }
}
